Transforming Data using XSLT Functions |
|
- Access theData Transformation Modeler. The Data Transformation modeler page is displayed.
- Right-click the Map Canvas (middle) pane of the Modeler tab, and select the required <Function> library. For more information on the XSLT functions, refer to XSLT Functions. The selected <Function> icon is displayed on the Map Canvas. Note: You can see instructions on using the modeler, functions, or the properties pane, at the bottom of the modeler.
- Right-click the <Function> icon and select Properties. Alternatively, you can double-click the <Function> icon to open the Properties pane. The Properties pane appears below displaying a table, in which the parameters and values of the selected function have to be specified.
- Select the element in the source template, hold the CTRL key, and select the required parameter in the Properties pane.
Note:
- You can also specify a custom value as the parameter. Type the custom value in the box displayed in the parameter row.
- If you are using the Web service lookup function, select the element in the Source template, hold the CTRL key, and click the required parameter in the Web service.
The element is displayed in the value column of the function block.
- Select the <Function>, hold the CTRL key, and select the target element. A line connecting the <Function> and the target element appears. This line indicates that the output value, based on the inputs to the <Function> from the source template, is mapped to the selected target element. Note: The target can be a node, an attribute, or a function block.
- Click to save the transformation. To add another XSLT function, repeat steps 2 to 5. Note: To delete a function, right-click the function, and click Delete.
The data is transformed using the XSLT function library.